From fdda579ede6de2a4f182fc0553c3758c3365cfd4 Mon Sep 17 00:00:00 2001 From: "cl349@firebug.cl.cam.ac.uk" Date: Thu, 1 Sep 2005 10:45:50 +0000 Subject: [PATCH] Fix network setup through hotplug on SUSE. Move the hotplug script from /etc/hotplug.d/xen-backend/backend.hotplug to /etc/hotplug/xen-backend.agent, which seems to be a more common place for the script. Signed-off-by: Christian Limpach --HG-- rename : tools/examples/backend.hotplug => tools/examples/xen-backend.agent --- Makefile | 2 ++ tools/examples/Makefile | 4 ++-- tools/examples/{backend.hotplug => xen-backend.agent} | 0 3 files changed, 4 insertions(+), 2 deletions(-) rename tools/examples/{backend.hotplug => xen-backend.agent} (100%) diff --git a/Makefile b/Makefile index 7a6773b1c2..3b50ec6436 100644 --- a/Makefile +++ b/Makefile @@ -178,6 +178,8 @@ uninstall: rm -rf $(D)/usr/share/man/man1/xen* rm -rf $(D)/usr/share/man/man8/xen* rm -rf $(D)/usr/lib/xen + rm -rf $(D)/etc/hotplug.d/xen-backend + rm -rf $(D)/etc/hotplug/xen-backend.agent # Legacy targets for compatibility linux24: diff --git a/tools/examples/Makefile b/tools/examples/Makefile index c196978f85..c4cbf8ed94 100644 --- a/tools/examples/Makefile +++ b/tools/examples/Makefile @@ -27,8 +27,8 @@ XEN_SCRIPTS += block-enbd XEN_BOOT_DIR = /usr/lib/xen/boot XEN_BOOT = mem-map.sxp -XEN_HOTPLUG_DIR = /etc/hotplug.d/xen-backend -XEN_HOTPLUG_SCRIPTS = backend.hotplug +XEN_HOTPLUG_DIR = /etc/hotplug +XEN_HOTPLUG_SCRIPTS = xen-backend.agent all: build: diff --git a/tools/examples/backend.hotplug b/tools/examples/xen-backend.agent similarity index 100% rename from tools/examples/backend.hotplug rename to tools/examples/xen-backend.agent -- 2.30.2